Skip to content

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented May 31, 2023

We use x.isInstanceOf[T] instead x.getClass == classOf[T] so that the tests pass on Scala.js. This is equivalent on the JVM, so it does not make the test weaker.

We use `x.isInstanceOf[T]` instead `x.getClass == classOf[T]` so
that the tests pass on Scala.js. This is equivalent on the JVM, so
it does not make the test weaker.
@nicolasstucki nicolasstucki merged commit fc27369 into scala:main Jun 1, 2023
@sjrd sjrd deleted the test-weak-conformance-on-js branch June 1, 2023 07:28
Kordyjan added a commit that referenced this pull request Nov 21, 2023
…18962)

Backports #17656 to the LTS branch.

PR submitted by the release tooling.
@Kordyjan Kordyjan added this to the 3.3.2 milestone Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants